package pack3;

public class test4 {
    public static void main(String[] args) {
        double sum=Math.sin(Math.toRadians(30))+Math.tan(Math.toRadians(50))+Math.sqrt(10);
        System.out.println("sum="+sum);
        Point p[]=new Point[10];
        for (int i = 0; i < 10; i++) {
             p[i]=new Point(i,i*i);
             System.out.println(p[i]);
             System.out.println("当前有"+Point.n+"个点");
        }

    }
}
